Table of Contents

Module: Connections .\src\TW\Database\Connections.py

Managed Connections to Databases, and query result helper classes

This module supplies ManagedConnection classes for a variety of Python database interfaces, including both SQL and LDAP. Managed Connections automatically handle various matters relating to staying open (automatic close/re-open on errors) and participating in transactions.

Currently, managed connections use the ZPublisher get_transaction() convention for accessing the transaction, and should probably be updated to work with the TransactionManager Service. This needs some careful work, though, not to impose read-write transaction requirements for database connections which are in transactions by default. :(

Oh, and by the way, I haven't done anything useful with this module in a few months... it may not work at all right now. :(

Imported modules   
from TW.API import *
Classes   
DBI
LDAPConnection
LDAPResult
ManagedConnection
QueryResult

May be broken - needs testing since removal of ExtensionClass.Base

SQLConnection
SQLResult
SolutionsSybase
ctSybase
gadflyClient
gadflyDB

Table of Contents

This document was automatically generated on Tue Mar 05 10:33:44 2002 by HappyDoc version WORKING